/**
 * Copyright 2020 OPSLI 快速开发平台 https://www.opsli.com
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package org.opsli.modulars.approval.node.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.opsli.core.base.entity.BaseEntity;

/**
 * 审批节点 Entity
 *
 * @author 17607080935
 * @date 2025-07-19 10:21:03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ApprovalNode extends BaseEntity {


    /**
     * 抄送人
     */
    private String copiedTo;

    private Integer sort;

    /**
     * andOr
     */
    private String andOr;
    /**
     * 节点名称
     */
    private String title;

    /**
     * 节点类型(adn-or)
     */
    private String type;

    /**
     * 角色类型(1个人2 角色)
     */
    private Integer roleType;

    /**
     * ids
     */
    private String ids;

    /**
     * 备注
     */
    private String remark;

    /**
     * 父级主键集合
     */
    private String orgIds;


    // ========================================


    /**
     * 多租户字段
     */
    private String tenantId;

    /**
     * 逻辑删除字段
     */
    @TableLogic
    private Integer deleted;


}